package org.example.entity;

/**
 * @BelongsProject: StudentSystem
 * @BelongsPackage: org.example.entity
 * @Author: StarBonny
 * @CreateTime: 2024-12-22  23:23
 * @Description: 题目类型实体类
 * @Version: 1.0
 */
public class QuestionType {
    private int questionTypeId;
    private String name;

    @Override
    public String toString() {
        return "QuestionType{" +
                "questionTypeId=" + questionTypeId +
                ", name='" + name + '\'' +
                '}';
    }

    public int getQuestionTypeId() {
        return questionTypeId;
    }

    public void setQuestionTypeId(int questionTypeId) {
        this.questionTypeId = questionTypeId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public QuestionType(int questionTypeId, String name) {
        this.questionTypeId = questionTypeId;
        this.name = name;
    }

    public QuestionType() {}
}
